﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common
{
    public class ErrorCode
    {
        /// <summary>
        /// 成功
        /// </summary>
        public static readonly string arcsoft_Success = "200";
        /// <summary>
        /// JSON格式错误
        /// </summary>
        public static readonly string arcsoft_ErrorJson = "-201";
        /// <summary>
        /// 接口内部错误
        /// </summary>
        public static readonly string arcsoft_fail = "-202";
        /// <summary>
        /// 无效的Email
        /// </summary>
        public static readonly string arcsoft_novalidemail = "-203";
        /// <summary>
        /// 已存在email
        /// </summary>
        public static readonly string arcsoft_existsemail = "-204";
        /// <summary>
        /// 用户名或者密码错误
        /// </summary>
        public static readonly string arcsoft_nopassword = "-205";
        /// <summary>
        /// 无效的签名
        /// </summary>
        public static readonly string arcsoft_novalidsign = "-206";
        /// <summary>
        /// 无效的appkey
        /// </summary>
        public static readonly string arcsoft_novalidappkey = "-207";
        /// <summary>
        /// 邮件不存在
        /// </summary>
        public static readonly string arcsoft_noexistsemail = "-208";
        /// <summary>
        /// 解锁码为空
        /// </summary>
        public static readonly string arcsoft_nodevicekey = "-209";
        /// <summary>
        /// 参数无效
        /// </summary>
        public static readonly string arcsoft_nocfuuid = "-210";
        /// <summary>
        /// 没有匹配的目标记录
        /// </summary>
        public static readonly string arcsoft_NoMatchTarget = "-211";
        /// <summary>
        /// 内容重复
        /// </summary>
        public static readonly string arcsoft_existfeedback = "-212";
        /// <summary>
        /// 用户不存在
        /// </summary>
        public static readonly string arcsoft_noexistcustomer = "-213";
        /// <summary>
        /// 用户没有激活
        /// </summary>
        public static readonly string arcsoft_NoActiveEmail = "-214";
        /// <summary>
        /// 旧密码无效
        /// </summary>
        public static readonly string arcsoft_noValidOldPWD = "-215";
        /// <summary>
        /// 执行未成功
        /// </summary>
        public static readonly string arcsoft_NoExcute = "-216";
        /// <summary>
        /// 未登录
        /// </summary>
        public static readonly string arcsoft_NoLogin = "-217";
        /// <summary>
        /// 账号已经登陆，不能再登录
        /// </summary>
        public static readonly string arcsoft_ExistsLogin = "-218";
        /// <summary>
        /// 服务停止
        /// </summary>
        public static readonly string arcsoft_ServiceStoped = "-219";
         /// <summary>
        /// 服务关闭
        /// </summary>
        public static readonly string arcsoft_ServiceClosed = "-220";
        /// <summary>
        /// 服务到期
        /// </summary>
        public static readonly string arcsoft_ServiceEndTime = "-221";
        /// <summary>
        /// 密钥错误
        /// </summary>
        public static readonly string arcsoft_UkeyError = "-222";
        /// <summary>
        /// 用户登录账户类型错误EX.只能门店登录，结果用总部或者管理员账号登录
        /// </summary>
        public static readonly string arcsoft_UserNameTypeError = "-223";
        /// <summary>
        /// 查询的内容为空
        /// </summary>
        public static readonly string arcsoft_ContentIsNull = "-224";
        /// <summary>
        /// 挂单已满，不能再挂
        /// </summary>
        public static readonly string arcsoft_PendingOrdersFull = "-225";
        /// <summary>
        /// 单号已经存在（数据同步返回）
        /// </summary>
        public static readonly string arcsoft_ExistsBillCode = "-226";
        /// <summary>
        /// 设备未分配给门店
        /// </summary>
        public static readonly string arcsoft_NotAssignToStore = "-227";
        /// <summary>
        /// 限制用户登录
        /// </summary>
        public static readonly string arcsoft_limitUserLogin = "-228";
        /// <summary>
        /// 现金支付数字太大错误
        /// </summary>
        public static readonly string arcsoft_ErrorCashPay = "-229";
        /// <summary>
        /// 单号日期不等于saletime
        /// </summary>
        public static readonly string arcsoft_ErrorBillRecord = "-230";

        #region 促销优惠券
        /// <summary>
        /// 促销优惠券--不存在优惠券码
        /// </summary>
        public static readonly string arcsoft_NoActivityCode = "-231";
        /// <summary>
        /// 促销优惠券--不存在活动
        /// </summary>
        public static readonly string arcsoft_NoActivity = "-232";

        /// <summary>
        /// 促销优惠券--活动还没开始
        /// </summary>
        public static readonly string arcsoft_ActivityNotStart = "-233";

        /// <summary>
        /// 促销优惠券--活动已经结束
        /// </summary>
        public static readonly string arcsoft_ActivityYetEnd = "-234";
        /// <summary>
        /// 促销优惠券--活动已经使用
        /// </summary>
        public static readonly string arcsoft_ActivityYetUse = "-235";
        #endregion
        /// <summary>
        /// 会员注册，已经存在相同的会员
        /// </summary>
        public static readonly string arcsoft_ExistsMember = "-236";
        /// <summary>
        /// 上传下班记录时，找不到可对应的上班记录
        /// </summary>
        public static readonly string arcsoft_MissCheckIn = "-237";
        /// <summary>
        /// 文件内容md5不匹配
        /// </summary>
        public static readonly string arcsoft_filemd5 = "-300";
        /// <summary>
        /// 文件上传失败
        /// </summary>
        public static readonly string arcsoft_fileUpload = "-301";
        /// <summary>
        /// 文件内容为空
        /// </summary>
        public static readonly string arcsoft_fileNull = "-302";
        /// <summary>
        /// 文件不存在
        /// </summary>
        public static readonly string arcsoft_fileNotExists = "-303";
        /// <summary>
        /// 更改目标状态出错
        /// </summary>
        public static readonly string arcsoft_fail_update = "-304";
        
        /// <summary>
        /// 积分支付的积分不足
        /// </summary>
        public static readonly string arcsoft_fail_scorepay = "-305";

        /// <summary>
        /// 会员卡余额不足
        /// </summary>
        public static readonly string arcsoft_fail_cardcodebalancepay = "-306";

        /// <summary>
        /// 会员卡余额有效期过期
        /// </summary>
        public static readonly string arcsoft_fail_cardcodeexpirepay = "-307";

        /// <summary>
        /// 无效token
        /// </summary>
        public static readonly string arcsoft_invalidtoken = "-308";

        /// <summary>
        /// 手机发送失败
        /// </summary>
        public static readonly string arcsoft_MobileSendFail = "-309";

        /// <summary>
        /// 无效验证码
        /// </summary>
        public static readonly string arcsoft_invalidVerifyCode = "-310";

        /// <summary>
        /// 手机号已存在
        /// </summary>
        public static readonly string arcsoft_MobileExists = "-311";

        /// <summary>
        /// 此信息已收藏
        /// </summary>
        public static readonly string arcsoft_ExistsMessage = "-312";

        /// <summary>
        /// 文件大小
        /// </summary>
        public static readonly string arcsoft_FileSize = "-313";

        /// <summary>
        /// 城市无效
        /// </summary>
        public static readonly string arcsoft_invalidCity = "-314";

        /// <summary>
        /// 应用注销，用户无权限
        /// </summary>
        public static readonly string arcsoft_invalidUser = "-315";


        /// <summary>
        /// 商家不存在 -316
        /// </summary>
        public static readonly string arcsoft_invalidBoss = "-316";

        /// <summary>
        /// 商家邀请码无效
        /// </summary>
        public static readonly string arcsoft_invalidBossCode = "-317";

        /// <summary>
        /// 没有注册此商家-318
        /// </summary>
        public static readonly string arcsoft_invalidMobileAndBoss = "-318";

        /// <summary>
        /// 此商家已经开启-319
        /// </summary>
        public static readonly string arcsoft_BossOpen = "-319";

        /// <summary>
        /// 此商家已经屏蔽-320
        /// </summary>
        public static readonly string arcsoft_BossClose = "-320";

        /// <summary>
        /// 此商家没有开通爱美派-321
        /// </summary>
        public static readonly string arcsoft_invalidBossAMP = "-321";

        /// <summary>
        /// 5分钟之内短信不能超过2次 -322
        /// </summary>
        public static readonly string arcsoft_MoreSendSNS = "-322";

        /// <summary>
        /// 1分钟之内连接发短信 -323
        /// </summary>
        public static readonly string arcsoft_60SecondsSendSNS = "-323";
        /// <summary>
        /// 没有注册爱美派 -324
        /// </summary>
        public static readonly string arcsoft_NORegisterAmp = "-324";

        /// <summary>
        /// 此信息已不存在 -325
        /// </summary>
        public static readonly string arcsoft_invalidMsg = "-325";

        /// <summary>
        /// 预约或是申请已体验 -326
        /// </summary>
        public static readonly string arcsoft_amp_hasCompleted = "-326";

        /// <summary>
        /// 预约或是申请未参加 -327
        /// </summary>
        public static readonly string arcsoft_amp_noCompleted = "-327";

        /// <summary>
        /// 预约或是申请已拒绝 -328
        /// </summary>
        public static readonly string arcsoft_amp_hasReceive = "-328";

        /// <summary>
        /// 预约或是申请已接收 -329
        /// </summary>
        public static readonly string arcsoft_amp_EventhasCompleted = "-329";

        /// <summary>
        /// token过期 -330
        /// </summary>
        public static readonly string arcsoft_amp_tokenexpire = "-330";

        /// <summary>
        /// 商家超出限制数量 -331
        /// </summary>
        public static readonly string arcsoft_amp_bosscount = "-331";

        #region BA录单

        /// <summary>
        /// 录单会员密码输入错误
        /// </summary>
        public static readonly string arcsoft_ba_invalidpassword = "-1300";
        /// <summary>
        /// 该订单不存在
        /// </summary>
        public static readonly string arcsoft_ba_ordernotexist = "-1301";
        /// <summary>
        /// 录单限制
        /// </summary>
        public static readonly string arcsoft_ba_ordernumlimit = "-1302";
        #endregion

        #region 会员注册
        public static readonly string arcsoft_ba_invalidcardcode = "-1401";
           
        #endregion

        #region 盘点
        public static readonly string arcsoft_checkbill_nopermission = "-1520";
        #endregion
    }
}
